package com.mutouren.common.entity;

public enum ValidState {
	
	Normal,
	Invalid,	
	Delete;
	
	private ValidState() {	
	}
	
	public static String display(ValidState value) {
		String result = "";
		switch(value) {
		case Normal:
			result = "正常";
			break;
		case Invalid:
			result = "无效";
			break;
		case Delete:
			result = "删除";
			break;			
		}
		return result;
	}
	
	public static void main(String[] args) {
		System.out.println("hello:" + ValidState.valueOf("Delete"));
	}
}

// 状态: 0 正常 1 无效 2 删除
